<%@ Page Language="vb" AutoEventWireup="false" Codebehind="AdminUpdateMemberDemographics.aspx.vb" Inherits="Secure.AdminUpdateMemberDemographics"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>Update Member Demographics</title>
		<meta content="JavaScript" name="vs_defaultClientScript" />
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" />
		<link href="Styles.css" type="text/css" rel="stylesheet" />
	</head>
	<body>
		<form id="Form2" method="post" runat="server">
			<!-- #Include File="Header.aspx" -->
			<h1>Update Member Demographics</h1>
			<asp:label id="lbl1" Runat="server">
				<h3>This Form Allows you to:</h3>
			</asp:label><br />
			<asp:label id="Label1" Runat="server">Update Members Demographics</asp:label><br />
			<hr />
			<table width="100%">
				<tr>
					<td align="center" colspan="3"><asp:label id="Label3" Runat="server" Font-Bold="True">Select a member in the drop down list then click Load</asp:label></td>
				</tr>
				<tr>
					<td align="right" width="33%"><asp:dropdownlist id="ddlLoadMember" runat="server" Width="169px"></asp:dropdownlist></td>
					<td align="left"><asp:button id="btnLoadDemographics" runat="server" Text="Load Member Demographics"></asp:button><asp:label id="Label2" runat="server">MemberID:</asp:label><asp:textbox id="txtMemberID" Runat="server" Width="51px" Enabled="False">0</asp:textbox></td>
				</tr>
			</table>
			<table id="ApplicationForm" width="100%">
				<tr>
					<td width="30%"></td>
					<td width="40%"></td>
					<td width="30%"></td>
				</tr>
				<tr>
					<td colspan="3">
						<asp:Label id="lblAcctStatus" runat="server">Account Status:</asp:Label>
						<asp:Label id="lblAcctStatusID" runat="server" ForeColor="Teal"></asp:Label>
						<asp:Label id="Label6" runat="server">Last Membership Payment Date:</asp:Label>
						<asp:TextBox id="txtPaymentDate" runat="server" Enabled="False"></asp:TextBox>
					</td>
				</tr>
				<tr class="DataGridHeader">
					<td colspan="4">Personal Information</td>
				</tr>
				<tr>
					<td>First Name:</td>
					<td colspan="2"><asp:textbox id="PersonalFirstName" Runat="server" Width="200"></asp:textbox></td>
				</tr>
				<tr>
					<td>Last Name:</td>
					<td colspan="2"><asp:textbox id="PersonalLastName" Runat="server" Width="200"></asp:textbox></td>
				</tr>
				<tr>
					<td>Email Address:</td>
					<td colspan="2"><strong><font color="red"><asp:textbox id="PersonalEmail" runat="server" Width="200px"></asp:textbox></font></strong></td>
				</tr>
				<tr>
					<td>Home Phone:</td>
					<td colspan="2"><asp:textbox id="PersonalHomePhone" runat="server"></asp:textbox></td>
				</tr>
				<tr>
					<td>Address:
					</td>
					<td colspan="2"><asp:textbox id="PersonalAddress1" runat="server" Width="264px"></asp:textbox></td>
				<tr>
					<td>Additional Address Info:
					</td>
					<td colspan="2"><asp:textbox id="PersonalAddress2" runat="server" Width="264px"></asp:textbox></td>
				</tr>
				<tr>
					<td colspan="2">City:
						<asp:textbox id="PersonalCity" runat="server" Width="150px"></asp:textbox><strong><font color="red"></font></strong></td>
					<td colspan="2">Postal Code:
						<asp:textbox id="PersonalPostalCode" runat="server" Width="80px"></asp:textbox></td>
				</tr>
				<tr>
					<td colspan="2" style="HEIGHT: 10px">Province/State:<asp:textbox id="PersonalProvince" runat="server" Width="107px"></asp:textbox></td>
					<td colspan="2" style="HEIGHT: 10px"><asp:label id="lblOtherCountry" runat="server">Country: </asp:label><asp:textbox id="txtOtherCountry" runat="server"></asp:textbox></td>
				</tr>
				<tr>
					<td colspan="3"><asp:label id="lblAffiliate" runat="server">Choose an Affiliate: </asp:label><asp:dropdownlist id="ddlAffiliate" runat="server" Width="208px" Enabled="False"></asp:dropdownlist>&nbsp;</td>
				</tr>
				<tr>
					<td colspan="4">
						<asp:label id="lbl_ENAODistricts" runat="server" Visible="False">ENAO District:</asp:label>&nbsp;
						<asp:dropdownlist id="ddl_ENAODistricts" runat="server" Visible="False"></asp:dropdownlist>
						<asp:CheckBox id="check_RNAO" runat="server" Text="RNAO Member? (check for yes, empty for no)"
							Visible="False"></asp:CheckBox></td>
				</tr>
				<tr class="DataGridHeader">
					<td colspan="4">Professional Information</td>
				</tr>
			</table>
			<TABLE id="InstructionInformation" width="100%">
				<tr>
					<td width="40%"></td>
					<td></td>
				</tr>
				<tr>
					<td width="40%" colspan="2">ENC(C) Emergency Nursing Certified Canada:
						<asp:checkbox id="chkENCCCertified" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current P-CTAS Provider:</td>
					<td><asp:checkbox id="chkPCTASProvider" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current P-CTAS Instructor:</td>
					<td><asp:checkbox id="chkPCTASInstructor" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current P-CTAS Instructor Trainer:</td>
					<td><asp:checkbox id="chkPCTASTrainer" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current P-CTAS Course Director:</td>
					<td><asp:checkbox id="chkPCTASDirector" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current A-CTAS Provider:</td>
					<td><asp:checkbox id="chkACTASProvider" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current A-CTAS Instructor:</td>
					<td><asp:checkbox id="chkACTASInstructor" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current A-CTAS Instructor Trainer:</td>
					<td><asp:checkbox id="chkACTASTrainer" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current A-CTAS Course Director:</td>
					<td><asp:checkbox id="chkACTASDirector" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current C-CTAS Instructor:</td>
					<td><asp:checkbox id="chkCCTASTrainer" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current C-CTAS Provider:</td>
					<td><asp:checkbox id="chkCCTASProvider" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current ENPC Provider:</td>
					<td><asp:checkbox id="chkENPCProvider" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current ENPC Instructor:</td>
					<td><asp:checkbox id="chkENPCInstructor" runat="server"></asp:checkbox>&nbsp;
						<asp:label id="Label5" runat="server">ENPC ID:</asp:label><asp:textbox id="txtENPCID" runat="server" Width="108px"></asp:textbox></td>
				</tr>
				<tr>
					<td>Current ENPC Instructor Trainer:</td>
					<td><asp:checkbox id="chkENPCTrainer" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current ENPC Course Director:</td>
					<td><asp:checkbox id="chkENPCDirector" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current CATN Provider:</td>
					<td><asp:checkbox id="chkCATNProvider" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current CATN Instructor:</td>
					<td><asp:checkbox id="chkCATNInstructor" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current CATN Instructor Trainer:</td>
					<td><asp:checkbox id="chkCATNTrainer" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current CATN Course Director:</td>
					<td><asp:checkbox id="chkCATNDirector" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current TNCC Provider:</td>
					<td><asp:checkbox id="chkTNCCProvider" runat="server"></asp:checkbox>&nbsp;</td>
				</tr>
				<tr>
					<td>Current TNCC Instructor:</td>
					<td><asp:checkbox id="chkTNCCInstructor" runat="server"></asp:checkbox>&nbsp;
						<asp:label id="Label4" runat="server">TNNC ID:</asp:label><asp:textbox id="txtTNCCID" runat="server" Width="108px"></asp:textbox></td>
				</tr>
				<tr>
					<td>Current TNCC Instructor Trainer:</td>
					<td><asp:checkbox id="chkTNCCTrainer" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Current TNCC Course Director:</td>
					<td><asp:checkbox id="chkTNCCDirector" runat="server"></asp:checkbox></td>
				</tr>
            </TABLE>
			<table id="ApplicationForm2" width="100%">
				<tr>
					<td width="30%"></td>
					<td width="40%"></td>
					<td width="30%"></td>
				</tr>
				<tr class="DataGridHeader">
					<td style="HEIGHT: 17px" colspan="3">Area of Employment</td>
				</tr>
				<tr>
					<td>Administration:
					</td>
					<td><asp:checkbox id="chkEmployeeAdministration" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Clinical:
					</td>
					<td><asp:checkbox id="chkEmployeeClinical" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Educator:
					</td>
					<td><asp:checkbox id="chkEmployeeEducator" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Research:
					</td>
					<td><asp:checkbox id="chkEmployeeResearch" runat="server"></asp:checkbox></td>
				</tr>
				<tr>
					<td>Work Phone:</td>
					<td colspan="2"><asp:textbox id="txtWorkPhone" runat="server"></asp:textbox></td>
				</tr>
				<tr>
					<td>Nurses License Number:</td>
					<td colspan="2"><asp:textbox id="txtNurseLicense" runat="server"></asp:textbox></td>
				</tr>
				<tr>
					<td>Employer:</td>
					<td colspan="2"><asp:textbox id="txtEmployer" runat="server"></asp:textbox></td>
				</tr>
				<tr>
					<td><br />
					</td>
				</tr>
				<tr class="DataGridHeader">
					<td colspan="4">Transaction Receipts</td>
				</tr>
				<tr>
				<td colspan="3">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        DataSourceID="ObjectDataSource1" BackColor="#DEBA84" BorderColor="#DEBA84" 
                        BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2">
                        <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
                        <Columns>
                            <asp:BoundField DataField="TransactionPaymentID" 
                                HeaderText="TransactionID" SortExpression="TransactionPaymentID" />
                            <asp:BoundField DataField="PaymentMethod" HeaderText="PaymentMethod" 
                                SortExpression="PaymentMethod" />
                            <asp:BoundField DataField="PayPalFee" HeaderText="PayPalFee" 
                                SortExpression="PayPalFee" />
                            <asp:CheckBoxField DataField="TransactionCompleted" 
                                HeaderText="Completed" SortExpression="TransactionCompleted" />
                            <asp:BoundField DataField="PaymentTo" HeaderText="PaymentTo" 
                                SortExpression="PaymentTo" />
                            <asp:BoundField DataField="PaymentAmount" HeaderText="Amount" 
                                SortExpression="PaymentAmount" />
                            <asp:BoundField DataField="PaymentType" HeaderText="Type" 
                                SortExpression="PaymentType" />
                            <asp:BoundField DataField="PaymentStatus" HeaderText="Status" 
                                SortExpression="PaymentStatus" />
                            <asp:BoundField DataField="PaymentReason" HeaderText="Reason" 
                                SortExpression="PaymentReason" />
                            <asp:BoundField DataField="PaymentDate" HeaderText="PaymentDate" 
                                SortExpression="PaymentDate" />
                        </Columns>
                        <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                        <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
                    </asp:GridView>
                    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                        SelectMethod="GetTransactionPayments" 
                        TypeName="NENAData.Transactions.Payments.Payments">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="txtMemberID" Name="intMemberID" 
                                PropertyName="Text" Type="Int32" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                    </td></tr>
				<tr align="center">
					<td><asp:button id="BtnReturn" runat="server" Text="Return to Main"></asp:button></td>
					<td><asp:button id="btnSave" runat="server" Text="Save Update" Enabled="False"></asp:button></td>
					<td><asp:button id="btnDelete" runat="server" Text="Delete (expire) Member" Enabled="False"></asp:button></td>
				</tr>
			</table>
		</form>
	</body>
</html>
